<%@page import="org.springframework.ui.Model"%>
<%@page import="com.boxin.ims.modules.wechat.entity.WechatMember"%>
<%@page import="com.zhixun.mobile.modules.member.web.IndexController"%>
<%@page import="com.zhixun.mobile.sys.utils.SessionMemberUtils"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
<script src="${ctxStatic}/member/themes/default/jquery-1.9.1.min.js" type="text/javascript"></script>
<link href="${ctxStatic}/member/themes/default/default.css" type="text/css" rel="stylesheet" />



<style type="text/css">
		#footer {background-color:#e3e3e5;border-top:1px solid #b5b5b5;height:50px;text-align:center;margin-bottom: 1px;position:absolute; width: 100%; top:expression(document.body.clientHeight-this.style.pixelHeight+document.body.scrollTop)}
#footer p {margin-top:10px;color:#555;font-size:12px;text-shadow:1px 1px 0 #fff;font-family:'Microsoft Yahei';}
#footer p a {font-size:14px;color:#555;text-shadow:none;}
#footer p img.unicom{vertical-align:middle;margin-right:5px;}
#footer .icon{ margin-right: 5px;vertical-align: -3px;}
#min_nav .min_nav_left_text,#min_nav .min_nav_right_text{height:21px;line-height:21px;font-size:12px;color:#fffefe}
#min_nav .min_nav_left_text{float:left;display:inline;}
#min_nav .min_nav_right_text{float:right;display:inline;}
#min_nav .min_nav_right_text span,#min_nav .min_nav_right_text a{color:#ffcc00}
#min_nav .min_nav_right_text a:visited{color:#ffcc01}
#min_nav .min_nav_right_text span.orangeTxt,#min_nav .min_nav_right_text a.orangeTxt{color:#f60}
#min_nav .min_nav_right_text a.fw{color:#fff}		
		
		</style>



<%

	String userId = request.getParameter("uid");
	WechatMember member =	SessionMemberUtils.getSessionMemberByUserId(request,userId);
	
%>

<div class="topbar clearfix">
					<div class="topbarbg"></div>
					<div id="min_nav">
						
						<div class="min_nav_right_text">
					
							<!--login -->
						<div class="min_nav_right_text">
							<% if(member == null){%> <a href="${ctx}/member/tologin?uid=${uid}&wechatId=${wechatId}&style=${style}&topage=${topage}">登录</a>|<a href="${ctx }/member/reg?uid=${uid}&wechatId=${wechatId}&style=${style}&topage=${topage}">申请注册微会员</a><%}else{ %>
							欢迎您  <%=member.getName() %> | <a href="${ctx }/member/toIndex?uid=${uid}&wechatId=${wechatId}&style=${style}&topage=${topage}">主页</a>| <a href="${ctx }/member/logout?uid=${uid}&wechatId=${wechatId}&style=${style}&topage=${topage}">退出</a>
							<%} %>
						</div>
						
						
					</div>
					         <!--   <h3 style="text-align:center">${membertitle }</h3> -->
				</div>
				</div>